package letsjava.pattern.facade;

public class Facade {
	private Flight flight;
	private Hotel hotel;

	public Facade() {
		this.flight = new Flight();
		this.hotel = new Hotel();

	}

	public Facade(Flight flight, Hotel hotel) {
		this.flight = flight;
		this.hotel = hotel;

	}

	public void travel() {

		hotel.booking();
		flight.scheduled();
		flight.go();
		hotel.check();

	}
}